﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="productAdd.aspx.cs" Inherits="Think.Lenovo.Com.productAdd" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <!-- stylesheets -->
    <link href="/Contents/css/skin.css" rel="stylesheet" type="text/css" />
    <script src="/Contents/resources/scripts/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/style.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/style_fixed.css" />
    <link id="Link1" rel="stylesheet" type="text/css" href="/Contents/resources/css/colors/blue.css" />
    <meta http-equiv="Cache-Control" content="no" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/style.css" media="screen" />
    <link id="color" rel="stylesheet" type="text/css" href="/Contents/resources/css/colors/blue.css" />
    <script type="text/javascript" src="/Scripts/lib/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="/Scripts/lib/SerializeObject.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="content" style="background: url(/Contents/resources/images/background.png);">
            <!-- content / right -->
            <div id="right">
                <div class="box">
                    <!-- box / title -->
                    <div class="title">
                        <h5>
                            添加产品</h5>
                    </div>
                    <!-- end box / title -->
                    <div class="form">
                        <div class="fields">
                            <div class="field  field-first">
                                <div class="label">
                                    <label for="input-small">
                                        产品标题:</label>
                                </div>
                                <div class="input">
                                <asp:TextBox ID="txt_title" runat="server" class="small"></asp:TextBox>
                                    
                                </div>
                            </div>
                            <div class="field">
                                <div class="label">
                                    <label for="input-medium">
                                        产品栏目:</label>
                                </div>
                                <div class="input">
                                    <asp:DropDownList ID="ddl_lanmu" runat="server">
        </asp:DropDownList>  &nbsp;&nbsp;&nbsp;&nbsp;管理产品分类<a href="/productList.aspx"></a>
                                </div>
                            </div>
                            <div class="field">
                                <div class="label">
                                    <label for="input-large">
                                        产品图片:</label>
                                </div>
                                <div class="input">
                                    <asp:FileUpload ID="FileUpload1" runat="server" />
                                                                    <asp:Label ID="lbl_img" runat="server" Text="Label" Visible="false"></asp:Label>
                                </div>
                            </div>
                            <div class="field">
                                <div class="label">
                                <label for="input-large">
                                        产品介绍:</label>
                                    
                                </div>
                                <div>
                                    <FCKeditorV2:FCKeditor ID="editor" runat="server" Width="100%" Height="350" BasePath="~/editors/fckeditor/"
            ToolbarSet="Custom" ToolbarStartExpanded="true">
        </FCKeditorV2:FCKeditor>
                                </div>
                            </div>
                           
                            <div class="field">
                                <div class="label">
                                <label for="input-large">
                                        浏览权限:</label>
                                   
                                </div>
                                <div class="select">
                                    <asp:CheckBoxList ID="cbl_right" runat="server" DataTextField="name" DataValueField="Id"
            RepeatDirection="Horizontal" RepeatColumns="3">
        </asp:CheckBoxList>
                                </div>
                            </div>
  
                            
                            <div class="field">
                                <div class="label">
                                    <label for="file">
                                       消耗积分:</label>
                                </div>
                                <div class="input input-file">
                                    <asp:TextBox ID="txt_jifen" runat="server"></asp:TextBox>
                                </div>
                            </div>
                            <div class="buttons">
                                <asp:Button ID="Button1" runat="server" Text="添加" OnClick="Button1_Click" />
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
 
    </form>
</body>
</html>
